package com.qiche.mapper;

import com.qiche.common.MyMapper;
import com.qiche.model.VoucherPackage;
import com.qiche.model.VoucherRepository;
import com.sun.org.apache.xpath.internal.operations.String;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

//@Mapper
//@Repository
public interface VoucherRepositoryMapper extends MyMapper<VoucherRepository> {

    int updateQuantity(@Param("quantityOld") int quantityOld, @Param("quantity") Integer quantity,@Param("id") Integer id);
}